﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AccountAdmin/AdminMaster.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="AccountAdmin_Veiculo_Tipo_Home" %>
<%--<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="headTile" runat="Server">

    <!-- jTable style file -->
    <%--<link href="/App_Themes/eutoliso/jtable/themes/lightcolor/orange/jtable.css" rel="stylesheet" type="text/css" />--%>
    <!-- A helper library for JSON serialization -->
    <%--<script type="text/javascript" src="/App_Themes/eutoliso/jtable/external/json2.js"></script>--%>
    <!-- Core jTable script file -->
    <%--<script type="text/javascript" src="/App_Themes/eutoliso/jtable/jquery.jtable.js"></script>--%>
    <!-- ASP.NET Web Forms extension for jTable -->
    <%--<script type="text/javascript" src="/App_Themes/eutoliso/jtable/extensions/jquery.jtable.aspnetpagemethods.js"></script>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headScript" runat="Server">
   
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="header_search" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="login_header" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="header_pos_menu" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="body_pre_central" runat="Server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="body_central_first" runat="Server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="body_central" runat="Server">


    <form id="form1" runat="server">


        <!-- Start Box -->
        <div class="boxes-full">

            <div class="boxes-padding fullpadding">

                <!-- Start None Split Section -->
                <div class="splitnone">

                    <div id="portfolio-container">


                        <!-- Start 4 column portfolio -->
                        <div class="element web">

                            <div class="col1">
                                <div class="wrapper_01">


                                    <div class="wrapper_01">
                                        <li class="under_02"><a href="/AccountAdmin/Home.aspx" title="" class="active">Página Inicial</a></li>
                                        <li class="under_02"><a href="#">Anúncios</a></li>
                                        <li class="under_02"><a href="#">Meus Dados</a></li>
                                        <li class="under_02"><a href="/AccountAdmin/Veiculo/Marca/Home.aspx" title="" class="active">Marcas</a></li>
                                        <li class="under_02"><a href="/AccountAdmin/Veiculo/Modelo/Home.aspx" title="" class="active">Modelos</a></li>
                                        <li class="under_02"><a href="/AccountAdmin/Veiculo/Home.aspx" title="" class="active">Veículos</a></li>
                                        <li class="under_02"><a href="#">Sair</a></li>
                                    </div>

                                </div>
                            </div>

                        </div>

                        <div class="element graphic">
                        </div>
                        <div class="element logo">

                       <%--     <ext:ResourceManager ID="ResourceManager1" runat="server"/>
                            
                            <ext:TextField ID="TextField1" runat="server">
                            </ext:TextField>--%>

                            
                            <asp:GridView ID="grvVeiculoTipo" runat="server" AutoGenerateColumns="False" 
                                DataKeyNames="vet_id" DataSourceID="EntityDataSource1">
                                <Columns>
                                    <asp:BoundField DataField="vet_id" HeaderText="ID" ReadOnly="True" 
                                        SortExpression="vet_id" />
                                    <asp:BoundField DataField="vet_nome" HeaderText="Categoria" 
                                        SortExpression="vet_nome" />
                                    <asp:CommandField CancelText="Cancelar" DeleteText="Excluir" EditText="Editar" 
                                        ShowDeleteButton="True" ShowEditButton="True" ButtonType="Button" />
                                </Columns>
                            </asp:GridView>
                            <br />
                            <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
                                ConnectionString="name=eutolisoEntities" 
                                DefaultContainerName="eutolisoEntities" EnableDelete="True" 
                                EnableFlattening="False" EnableInsert="True" EnableUpdate="True" 
                                EntitySetName="veiculoTipo">
                            </asp:EntityDataSource>

                            
                            <br />
                            <br />
                             <asp:TextBox ID="txtNome" runat="server"></asp:TextBox>
                            <asp:Button ID="btnInserir" runat="server" Text="Inserir" onclick="Button1_Click" />
                            <br />



                        </div>


                        <div class="contacttextboxes">





                        <br />




                        </div>



                        <!-- End 4 column portfolio -->

                    </div>

                </div>
                <!-- End None Split Section -->

            </div>

        </div>
        <!-- End Box -->


    </form>


    


</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="body_pos_central" runat="Server">
</asp:Content>

